package com.qlzb.taskmanagement.vo.base;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName BaseVO
 * @Description TODO    基础排序vo sortVo
 * @Authr 袁聪
 * @Date 2018/10/1 23:35
 * @Version v2.0
 */
public class BaseSortFormVo extends BaseFormVo {

    @NotEmpty(message = "id 不能为空")
    @Min(value = 0,message = "id 不能小于0")
    private String id;


    @NotEmpty(message = "id 不能为空")
    private String sort;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "BaseSortVo{" +
                "id='" + id + '\'' +
                ", sort='" + sort + '\'' +
                '}';
    }
}
